<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>Template Units For Numerical Applications</title>
<link href="TUNAstyles.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
<style type="text/css">

.cabeza_cell {
  border-left: 1px solid #000000;
  border-right: 1px solid #000000;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000;
  font-family: Arial,Helvetica,sans-serif;
  font-size: 11pt;
  background-color: #ffffff;
  font-weight: lighter;
  color: #000000;
  text-decoration: none;
}
</style>

</head><body>
<div>
<table align="center" width="640" border="0" cellspacing="2" cellpadding="5" class="border">
<tr>
 <td class="cabeza_cell"> 

  <font style="font-family: helvetica; color: #000000;" size=4>
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>TUNA</font> :
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>T</font>emplate
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>U</font>nits for
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>N</font>umerical 
    <font style="font-family: helvetica; color: #336699; font-weight=bold" size=5>A</font>pplications
 </font><br>
  
</td>
</tr>

<tr>
<td class="cabeza_cell">
 <span style="font-family: helvetica; color: #336699;">
 Documentation Ver 1.0.0 August 2011 by
 <a href="http://mmc.geofisica.unam.mx/luiggi">Luis M. de la Cruz</a> <br>
 <a href="http://mmc.geofisica.unam.mx"> GMMC </a> -
 <a href="http://www.geofisica.unam.mx/recnat/"> Depto. de Recursos Naturales </a> -
 <a href="http://www.geofisica.unam.mx"> Instituto de Geof&iacute;sica </a> -
 <a href="http://www.unam.mx"> UNAM </a><br>
 </span>
 </td>

</tr>

</table>
</div>
<br>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>Tuna</b>      </li>
      <li class="navelem"><a class="el" href="classTuna_1_1NonUniform.html">NonUniform</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">Tuna::NonUniform&lt; Tprec, Dim &gt; Class Template Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Tuna::NonUniform" --><!-- doxytag: inherits="StructuredMesh&lt; NonUniform&lt; Tprec, Dim &gt; &gt;" -->
<p>Adaptor for NON-uniform structured meshes on rectangular domains.  
 <a href="classTuna_1_1NonUniform.html#details">More...</a></p>
<div class="dynheader">
Inheritance diagram for Tuna::NonUniform&lt; Tprec, Dim &gt;:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classTuna_1_1NonUniform.png" usemap="#Tuna::NonUniform&lt; Tprec, Dim &gt;_map" alt=""/>
  <map id="Tuna::NonUniform&lt; Tprec, Dim &gt;_map" name="Tuna::NonUniform&lt; Tprec, Dim &gt;_map">
<area href="classTuna_1_1StructuredMesh.html" alt="Tuna::StructuredMesh&lt; NonUniform&lt; Tprec, Dim &gt; &gt;" shape="rect" coords="0,56,413,80"/>
<area href="classTuna_1_1GeneralMesh.html" alt="Tuna::GeneralMesh&lt; StructuredMesh&lt; NonUniform&lt; Tprec, Dim &gt; &gt; &gt;" shape="rect" coords="0,0,413,24"/>
</map>
 </div></div>

<p><a href="classTuna_1_1NonUniform-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memTemplParams" colspan="2">template&lt;typename Tfunct &gt; </td></tr>
<tr><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classTuna_1_1NonUniform.html#aac1456e847a33b388c47892ec6c82cdf">calcPoints</a> (Axis_t, Tfunct, Tprec, Tprec, int)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">This function calculates the distribution of the points in the axis defined by the <code>a</code> parameter using the function <code>f</code>.  <a href="#aac1456e847a33b388c47892ec6c82cdf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af858964893e2ce8082c0e34eeb410048"></a><!-- doxytag: member="Tuna::NonUniform::calcDeltas" ref="af858964893e2ce8082c0e34eeb410048" args="(Axis_t)" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classTuna_1_1NonUniform.html#af858964893e2ce8082c0e34eeb410048">calcDeltas</a> (Axis_t)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate the deltas for non-uniform meshes. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><h3>template&lt;class Tprec, int Dim&gt;<br/>
class Tuna::NonUniform&lt; Tprec, Dim &gt;</h3>

<dl class="author"><dt><b>Author:</b></dt><dd>Luis M. de la Cruz [ Sun Jan 20 14:16:36 GMT 2010 ] </dd></dl>

<p>Definition at line <a class="el" href="NonUniform_8hpp_source.html#l00067">67</a> of file <a class="el" href="NonUniform_8hpp_source.html">NonUniform.hpp</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aac1456e847a33b388c47892ec6c82cdf"></a><!-- doxytag: member="Tuna::NonUniform::calcPoints" ref="aac1456e847a33b388c47892ec6c82cdf" args="(Axis_t, Tfunct, Tprec, Tprec, int)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Tprec , int Dim&gt; </div>
<div class="memtemplate">
template&lt;typename Tfunct &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classTuna_1_1NonUniform.html">Tuna::NonUniform</a>&lt; Tprec, <a class="el" href="classTuna_1_1GeneralMesh.html#adb1220f6fe8395185eba4973fa2e71e2">Dim</a> &gt;::calcPoints </td>
          <td>(</td>
          <td class="paramtype">Axis_t&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tfunct&#160;</td>
          <td class="paramname"><em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tprec&#160;</td>
          <td class="paramname"><em>x_1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Tprec&#160;</td>
          <td class="paramname"><em>x_2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>num_nodes</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The function is applied between <code>x_1</code> and <code>x_2</code> . </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">a</td><td>axis </td></tr>
    <tr><td class="paramname">f</td><td>functor that defines the distribution </td></tr>
    <tr><td class="paramname">x_1</td><td>begining of the segment </td></tr>
    <tr><td class="paramname">x_2</td><td>finish of the segment </td></tr>
    <tr><td class="paramname">num_nodes</td><td>total number of number used in the segment </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="NonUniform_8hpp_source.html#l00106">106</a> of file <a class="el" href="NonUniform_8hpp_source.html">NonUniform.hpp</a>.</p>

</div>
</div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr size="1">
<div align="center">
Last modification: Sun Aug 28 09:57:21 CDT 2011
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&copy; 2011 LMCS-UNAM
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Generated by <a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="top" border="0" height="25"></a> 1.6.1 </div>

